A sprite track's local coordinate system--where a sprite is displayed within a sprite world or a sprite track--is defined by the sprite's matrix and its image's registration point.
This is the coordinate system, shown in Figure 1-2 , that results when the sprite track's matrix and the movie matrix are both ignored. The origin is the sprite track's upper left corner.
For example, if a sprite's matrix contains a horizontal translation of 50 and a vertical translation of 25, the sprite will be positioned such that its current image's registration point is located 50 pixels to the right of the sprite track's left side, and 25 pixels down from the top of the sprite track.
Figure 2 A track's local coordinate system of a sprite
| Previous | Chapter Contents | Chapter Top | Next |